#include "DriveReversed.h"
#include "WPILib.h"

DriveReversed::DriveReversed() {
	// Use requires() here to declare subsystem dependencies
	Requires(direction);
	//SetTimedout(0.1);
}

// Called just before this Command runs the first time
void DriveReversed::Initialize() {
}

// Called repeatedly when this Command is scheduled to run
void DriveReversed::Execute() {
	
	direction->setReverseDirection();
}

// Make this return true when this Command no longer needs to run execute()
bool DriveReversed::IsFinished() {
	return true;
}

// Called once after isFinished returns true
void DriveReversed::End() {
}

// Called when another command which requires one or more of the same
// subsystems is scheduled to run
void DriveReversed::Interrupted() {
}
